//
//  EWHView.h
//  PhnixHome
//
//  Created by Levy Xu on 2017/11/26.
//  Copyright © 2017年 Levy Xu. All rights reserved.
//

#import <UIKit/UIKit.h>

@class EWHView;
@protocol EWHViewDelegate
-(void)targetTempWillChange:(EWHView *)whview;
-(void)whView:(EWHView *)whview targetTempChanged:(float)targetTemp;
@end

@interface EWHView : UIView

@property(nonatomic, assign) CGFloat maxTemp;
@property(nonatomic, assign) CGFloat minTemp;
@property(nonatomic, assign) CGFloat currentTemp;
@property(nonatomic, assign) CGFloat setTemp;
@property(nonatomic, assign) id<EWHViewDelegate> delegate;

@property(nonatomic, assign) NSInteger ctrlState;

@end
